// 静态路由
export const staticRouter = [
    {
        path:'/',
        component:() => import('../views/staticRoutes/static1.vue'),
        meta: { title: '静态1'}
    },
    {
        path:'/2',
        component:() => import('../views/staticRoutes/static2.vue'),
        meta: { title: '静态2'}
    },
    {
        path:'/3',
        component:() => import('../views/staticRoutes/static3.vue'),
        meta: { title: '静态3'}
    },
    {
        path:'*',
        component:() => import('../views/staticRoutes/static1.vue'),
        meta: { title: '错误404',hidden:true}
    }
]
 
 
// 动态路由
export const dynamicRouter = [
    {
        path: '/d1',
        component: 'dynamicRoutes/dynamic1.vue',
        meta: { title:'动态1'}
    },
    {
        path: '/d2',
        component: 'dynamicRoutes/dynamic2.vue',
        meta: { title:'动态2'}
    },
    {
        path: '/d3',
        component: 'dynamicRoutes/dynamic3.vue',
        meta: { title:'动态3'}
    }
]